﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Style TargetType="Window" x:Key="DialogWindowStyle">
        <Setter Property="AllowsTransparency" Value="True"/>
        <Setter Property="WindowStyle" Value="None"/>
        <Setter Property="Background"  Value="Transparent"/>
        <Setter Property="SizeToContent" Value="WidthAndHeight" />
    </Style>
    <Style  TargetType="Border" x:Key="DialogBorderStyle">
        <Setter Property="CornerRadius" Value="10"/>
        <Setter Property="BorderBrush" Value="Gray"/>
        <Setter Property="BorderThickness" Value="3"/>
        <Setter Property="Background" Value="Beige"/>
        <Setter Property="Margin" Value="24"/>
        <Setter Property="Padding" Value="4"/>
        <Setter Property="Effect">
            <Setter.Value>
                <DropShadowEffect Color="Gray"
                                    Opacity=".50"
                                     ShadowDepth="16" />
            </Setter.Value>
        </Setter>
    </Style>
    
    <!--Button-->
    <Style TargetType="Button" >        
        <Setter Property="Effect">
            <Setter.Value>
                <DropShadowEffect Color="Gray"
                        Opacity=".550"
                        ShadowDepth="8" />
            </Setter.Value>
        </Setter>        
    </Style>
</ResourceDictionary>